<!DOCTYPE html>
<html>
<head>
	<script src="lib/easeljs-0.7.1.min.js" type="text/javascript"></script>	
	<title></title>
</head>
<body>

	<canvas id="canvas" width="500" height="500" style="border:1px solid #000"></canvas>

</body>
</html>


<script type="text/javascript">
	var stage =new createjs.Stage("canvas");
	stage.alpha=0.5;
	stage.x=100;
	stage.y=100;
	stage.scalex=2;
	stage.scaleY=0.5;
	var re = new createjs.Shape()
	re.graphics.beginFill("#ff0000").drawRect(0,0,100,100);
	stage.addChild(re);
	createjs.Ticker.addEventListener('tick',function () {
		stage.update()

	})
	createjs.Ticker.setFPS(60);
</script>